﻿using System;
using DBA.Common;
using System.Collections;
using System.Collections.Generic;

namespace DBA.Model
{
    /// <summary>
    ///功能描述    :    PorjectAttachment
    ///开发者      :    
    ///建立时间    :    2012-08-22 13:49:29
    ///修订描述    :    
    ///进度描述    :    
    ///版本号      :    1.0
    ///最后修改时间:    2012-08-22 13:49:29
    /// </summary>
        [OrmPropertyAttribute(TableName = "PorjectAttachment",PrimaryKey = "Paid",PrimaryKeyType = "IDENTITY",ParameterType = "int")]
    public class PorjectAttachment
    {
        #region 构造函数
        public PorjectAttachment(){}
        
        public PorjectAttachment(int Paid,int sp_ID,int ps_ID,int aw_ID,int Pap_ps_ID,string PaName,string PaCode)
        {
           this._Paid = Paid;
           this._sp_ID = sp_ID;
           this._ps_ID = ps_ID;
           this._aw_ID = aw_ID;
           this._Pap_ps_ID = Pap_ps_ID;
           this._PaName = PaName;
           this._PaCode = PaCode;

        }
        #endregion
        
        #region 成员
        private int _Paid;
        private int _sp_ID;
        private int _ps_ID;
        private int _aw_ID;
        private int _Pap_ps_ID;
        private string _PaName;
        private string _PaCode;
        #endregion
        
        #region 属性
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "0")]
        public virtual int Paid
        {
            get { return _Paid; }
            set { _Paid = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int Sp_ID
        {
            get { return _sp_ID; }
            set { _sp_ID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int Ps_ID
        {
            get { return _ps_ID; }
            set { _ps_ID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int Aw_ID
        {
            get { return _aw_ID; }
            set { _aw_ID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int Pap_ps_ID
        {
            get { return _Pap_ps_ID; }
            set { _Pap_ps_ID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 400,IsNull = "1")]
        public virtual string PaName
        {
            get { return _PaName; }
            set { _PaName = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 400,IsNull = "1")]
        public virtual string PaCode
        {
            get { return _PaCode; }
            set { _PaCode = value; }
        }
        #endregion
    }
}